﻿using System;
using System.Collections.Generic;

namespace Borg
{
    [SlotDefinition("Borg.Preferences")]
    public interface IPreferences : IEnumerable<KeyValuePair<string, object>>
    {
        void Clear();
        bool Remove(string key);

        object this[string key] { get; set; }
        Exception LastError { get; }
    }
}

